
require("config")
require("framework.init")

local MyApp = class("MyApp", cc.mvc.AppBase)

function MyApp:ctor()
    MyApp.super.ctor(self)
end

function MyApp:run()
    cc.FileUtils:getInstance():addSearchPath("res/")
    --cc.SpriteFrameCache:getInstance():addSpriteFrames('iori.plist')
    display.addSpriteFrames('iori.plist', 'iori_texture.png')
    display.addSpriteFrames('iori_ack.plist', 'iori_ack.png')
    display.addSpriteFrames('minren.plist', 'minren.png')
    display.addSpriteFrames('iori_ack2.plist', 'iori_ack2.png')
    display.addSpriteFrames('iori_back.plist', 'iori_back.png')
    self:enterScene("MainScene")
end

return MyApp
